<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <title>{$headConf['title']}</title>
    <link rel="icon" type="text/css" href="icon.ico" />
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/Home/css/account.css"/>
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/home/css/index.css" />
    <link rel="stylesheet" type="text/css" href="__PUBLIC__/home/css/qikoo_user.css" />
    <script src="__PUBLIC__/home/js/jquery-1.10.1.min.js" type="text/javascript" charset="utf-8"></script>
    <?php foreach($headConf['js'] as $v){?>
    <script src="__PUBLIC__/home/js/<?php echo $v?>.js" type="text/javascript" charset="utf-8"></script>
    <?php } ?>
    <script>
        var ajaxUpdateCart = "{:u('cartUpdata')}";
    </script>
    <script src="__PUBLIC__/home/js/list.js" type="text/javascript" charset="utf-8"></script>
    <script src="__PUBLIC__/home/layer-v3.0.3/layer/layer.js"></script>
    <script src="__PUBLIC__/Home/js/area.js" type="text/javascript" charset="utf-8"></script>
    <script src="__PUBLIC__/Home/js/account.js" type="text/javascript" charset="utf-8"></script>

</head>

<body>
<!--头部开始-->
<div id="top">
    <!--头部灰条就开始-->
    <div class="topbox">
        <div class="main">
            <div class="topleft fl">
                <a href="{:u('home/index/index')}">欢迎来到维依尚品城</a>
                <!--<a href="#">设为首页</a>-->
                <!--<a href="#">收藏本站</a>-->
                <!--<a href="#">帮助中心</a>-->
                <!--<a href="#" class='last'><i></i>手机商城</a>-->
            </div>

            <div class="topright fr">
                <div class="login fl">
                    <if condition="isset($_SESSION['uid'])">
                    <a href="{:u('home/login/out')}">欢迎{$_SESSION['username']}回家|点击退出</a>
                     <else/>
                    <a href="{:u('home/login/index')}">登录</a>
                    </if>
                    <a href="{:u('Home/res/index')}">注册</a>
                </div>
                <span class="fl">|</span>
                <div class="fcode fl">

                    <a href="{:u('home/order/index')}">我的订单</a>
                </div>
            </div>
        </div>
    </div>
    <!--头部灰条结束-->

    <!--logo区域开始-->
    <div class="logoRegion">
        <div class="main">
            <div class="logo">
                <a href="http://c79_tianjiaqiang.houdunphp.com/shop/index.php/Home/index/index.html"><img src="__PUBLIC__/Home/images/logo.gif"/></a>
            </div>
            <div class="seachRegion">
                <div class="seach fl">
                    <form action="" method="post">
                        <input type="text" class="seachtxt fl" value="请输入搜索关键词" />
                        <input type="javascript:;" class="btn"id="search_go" value="" />
                    </form>
                    <!--模糊匹配-->
                    <script>
                        $(function(){
                            $('#search_go').click(function(){
                                var seachtxt = $('.seachtxt').val();
                                var url="{:u('Home/search/index')}";
                                location.href=url+'?keywords='+seachtxt;
                            })
                        })
                    </script>
                    <p class="searchkey">
                        <a href="http://c79_tianjiaqiang.kuaipinwang.com/shop/index.php/home/listPage/index/cid/22.html">精品连衣裙低至5折</a>
                        <a href="http://c79_tianjiaqiang.kuaipinwang.com/shop/index.php/home/listPage/index/cid/9.html">潮流T恤</a>
                        <a href="http://c79_tianjiaqiang.houdunphp.com/shop/index.php/home/listPage/index/cid/7.html">女士风衣</a>
                        <a href="http://c79_tianjiaqiang.houdunphp.com/shop/index.php/home/listPage/index/cid/16.html">时尚卫衣</a>
                    </p>
                </div>
                <div class="topshopcart fr">
                    <a href="#" class="header-cart"><i></i>我的购物车(<span style="color: red" class="cart-size">{$Cartl['total_rows']}</span>)件</a>
                    <if condition="is_null($_SESSION['uid'])">
                        <div class="cart-tips">
                            请
                            <a href="{:u('Home/Login/index')}">登录</a>后查看您的购物车。
                        </div>
                        <else/>
                        <div class="cart-tips">
                            <foreach name="Cartl['goods']" key="k" item="v">
                                <div class="a">
                                    <div class="b">
                                        <a href="">
                                            <img width="65px"  src="__ROOT__/{$v['options']['img']}"/>
                                        </a>
                                    </div>
                                    <div class="c" style="text-align: left">
                                        <a href="" style="display: inline-block; font-size:14px;width: 200px; margin-top: 8px;line-height:20px; height:40px; " >
                                            {$v['name']}
                                        </a>
                                    </div>
                                    <div class="d" style="float: left;width: 100px; margin-top:18px;height:20px;font-size:15px;line-height:25px; " >
                                        {$v['price']}.00元
                                    </div>

                                    <div class="e" style="float: left;margin-top:10px;display: inline-block;height: 20px;width: 100px;line-height:20px;font-size:15px;">
                                        <a href="">删除</a>
                                    </div>
                                </div>
                            </foreach>
                                <div class="smc">
                                    <div class="smb">
                                        <div class="p-total">共<b>{$Cartl['total_rows']}</b>件商品　
                                            共计<strong>￥{$Cartl['total']}</strong></div>
                                    </div>
                                    <div class="shopcart">
                                        <a href="{:u('Home/Cart/index')}" title="去购物车" id="btn-payforgoods">去购物车</a>
                                    </div>
                                </div>

                        </div>
                    </if>
                </div>
            </div>
        </div>
    </div>
    <!--logo区域结束-->
    <!--导航开始-->
    <div class="navbox">
        <div class="main">
            <h5 class="fl"><a href=""><i></i>主题市场</a></h5>
            <ul class="menu fl">
                <li class="menulist">
                    <a href="list.html"></a>
                    <div class="menuHiden">

                        <ul class="product">

                            <li>
                                <a href=""><img src="__PUBLIC__/Home/images/right.png" alt="" /></li>
                            <li><img src="__PUBLIC__/Home/images/right.png" alt="" /></a>
                            </li>
                            <li>
                                <a href=""><img src="__PUBLIC__/Home/images/right.png" alt="" /></li>
                            <li><img src="__PUBLIC__/Home/images/right.png" alt="" /></a>
                            </li>
                            <li>
                                <a href=""><img src="__PUBLIC__/Home/images/right.png" alt="" /></li>
                            <li><img src="__PUBLIC__/Home/images/right.png" alt="" /></a>
                            </li>

                        </ul>

                    </div>
                </li>
                <li class="menulist">
                    <a href="http://c79_tianjiaqiang.houdunphp.com/shop/index.php/home/listPage/index/cid/1.html">女装上衣</a>
                    <div class="menuHiden">
                        <ul class="product">

                            <li>
                                <a href=""><img src="__PUBLIC__/Home/images/right.png" alt="" /></li>
                            <li><img src="__PUBLIC__/Home/images/right.png" alt="" /></a>
                            </li>
                            <li>
                                <a href=""><img src="__PUBLIC__/Home/images/right.png" alt="" /></li>
                            <li><img src="__PUBLIC__/Home/images/right.png" alt="" /></a>
                            </li>
                            <li>
                                <a href=""><img src="__PUBLIC__/Home/images/right.png" alt="" /></li>
                            <li><img src="__PUBLIC__/Home/images/right.png" alt="" /></a>
                            </li>

                        </ul>
                    </div>
                </li>
                <li class="menulist">
                    <a href="http://c79_tianjiaqiang.houdunphp.com/shop/index.php/home/listPage/index/cid/14.html">美搭衬衫</a>
                    <div class="menuHiden">
                        <ul class="product">

                            <li>
                                <a href=""><img src="__PUBLIC__/Home/images/right.png" alt="" /></li>
                            <li><img src="__PUBLIC__/Home/images/right.png" alt="" /></a>
                            </li>
                            <li>
                                <a href=""><img src="__PUBLIC__/Home/images/right.png" alt="" /></li>
                            <li><img src="__PUBLIC__/Home/images/right.png" alt="" /></a>
                            </li>
                            <li>
                                <a href=""><img src="__PUBLIC__/Home/images/right.png" alt="" /></li>
                            <li><img src="__PUBLIC__/Home/images/right.png" alt="" /></a>
                            </li>

                        </ul>
                    </div>
                </li>
                <li class="menulist">
                    <a href="http://c79_tianjiaqiang.houdunphp.com/shop/index.php/home/listPage/index/cid/44.html">裤子</a>
                    <div class="menuHiden">
                        <ul class="product">

                            <li>
                                <a href=""><img src="__PUBLIC__/Home/images/right.png" alt="" /></li>
                            <li><img src="__PUBLIC__/Home/images/right.png" alt="" /></a>
                            </li>
                            <li>
                                <a href=""><img src="__PUBLIC__/Home/images/right.png" alt="" /></li>
                            <li><img src="__PUBLIC__/Home/images/right.png" alt="" /></a>
                            </li>
                            <li>
                                <a href=""><img src="__PUBLIC__/Home/images/right.png" alt="" /></li>
                            <li><img src="__PUBLIC__/Home/images/right.png" alt="" /></a>
                            </li>

                        </ul>
                    </div>
                </li>
                <li class="menulist">
                    <a href="http://c79_tianjiaqiang.houdunphp.com/shop/index.php/home/listPage/index/cid/45.html">内衣</a>
                    <div class="menuHiden">
                        <ul class="product">

                            <li>
                                <a href=""><img src="__PUBLIC__/Home/images/right.png" alt="" /></li>
                            <li><img src="__PUBLIC__/Home/images/right.png" alt="" /></a>
                            </li>
                            <li>
                                <a href=""><img src="__PUBLIC__/Home/images/right.png" alt="" /></li>
                            <li><img src="__PUBLIC__/Home/images/right.png" alt="" /></a>
                            </li>
                            <li>
                                <a href=""><img src="__PUBLIC__/Home/images/right.png" alt="" /></li>
                            <li><img src="__PUBLIC__/Home/images/right.png" alt="" /></a>
                            </li>

                        </ul>
                    </div>
                </li>
                <li class="menulist">
                    <a href="http://c79_tianjiaqiang.houdunphp.com/shop/index.php/home/listPage/index/cid/46.html">精品女鞋</a>
                </li>
                <li class="menulist">
                    <a href="">美妆/装饰</a>
                </li>
                <li class="menulist">
                    <a href="">家居/母婴</a>
                </li>
                <li class="menulist">
                    <a href="">精品美包</a>
                </li>
            </ul>

        </div>
        <!--从这开始-->
        <if condition="CONTROLLER_NAME=='Index'">
            <div class="main hiden">
                <div class="navHidden">
                    <ul class="list2">
                        <?php $i=0;?>
                        <?php foreach($field as $k=>$v){?>
                        <?php $i++;?>
                        <?php if($i<10){?>
                        <li>
                            <a href="<?php echo u('home/listPage/index',['cid'=>$v['cid']])?>"><i></i><?php echo $v['cname']?></a>
                            <div class="listhide">
                                <div class="contentOne">
                                    <?php foreach($v['_data'] as $kk=>$vv){?>
                                    <dl>
                                        <dt><?php echo $vv['cname']?>&gt;</dt>
                                        <?php foreach($vv['_data'] as $kkk=>$vvv){?>
                                        <dd>
                                            <a href="<?php echo u('home/listPage/index',['cid'=>$vvv['cid']])?>" class="noo"><?php echo $vvv['cname']?></a>
                                        </dd>
                                        <?php }?>
                                    </dl>
                                    <?php } ?>
                                </div>
                            </div>
                        </li>
                        <?php } ?>
                        <?php } ?>
                    </ul>
                </div>
                <div class="topad">
                    <div class="righttopad">
                        <a href=""><img src="__PUBLIC__/Home/images/right1.png" /></a>
                    </div>
                    <div class="righttopad">
                        <a href=""><img src="__PUBLIC__/Home/images/right2.png" /></a>
                    </div>
                </div>
            </div>
        </if>
    </div>
    <div class="clear"></div>
    <block name="content"></block>



    <!--头部结束-->
    <!--中间开始-->

    <!--中间结束-->
    <!--到这里结束-->
    <!--尾部开始-->
    <div class="mod-footer">
        <div class="foot-bannerw">
            <div class="foot-banner clearfix">
                <div class="banner-item">
                    <a href="#" target="_blank" data-monitor="home_foot_days7"><i class="icon1">7</i>7天无理由退货</a>
                </div>
                <div class="banner-item">
                    <a href="#" target="_blank" data-monitor="home_foot_days15"><i class="icon2">15</i>15天免费换货</a>
                </div>
                <div class="banner-item"><i class="icon3">包</i>满99元包邮</div>
                <div class="banner-item">
                    <a href="#" target="_blank" data-monitor="home_foot_moblie"><i class="icon4">服</i>手机特色服务</a>
                </div>
            </div>
        </div>
        <div class="foot-containerw">
            <div class="foot-container clearfix">
                <dl class="foot-con"> <dt data-monitor="home_foot_freshman">联系作者 </dt>
                    <dd data-monitor="home_help_freshman">
                        <a target="_blank" href="#" rel="nofollow">电话：18519288960</a>
                    </dd>
                    <dd data-monitor="home_help_freshman">
                        <a target="_blank" href="#" rel="nofollow">QQ：1162989500</a>
                    </dd>
                </dl>
                <dl class="foot-con"> <dt data-monitor="home_foot_help">售后服务 </dt>
                    <dd data-monitor="home_help_help">
                        <a target="_blank" href="#">7 日无理由退货</a>
                    </dd>
                    <dd>
                        <a target="_blank" href="#" rel="nofollow">质量问题 15 日内换货</a>
                    </dd>
                </dl>
                <dl class="foot-con"> <dt data-monitor="home_foot_guide">友情链接 </dt>
                </dl>

                <dl class="foot-con"> <dt data-monitor="home_foot_try">关注维依尚品商城 </dt>
                    <dd data-monitor="home_help_try">
                        <a target="_blank" href="#" rel="nofollow">维依尚品商城大事记</a>
                    </dd>
                </dl>

            </div>
        </div>
        <div class="footer-copyright">维依尚品商城 ©2017-2018 田家强 版权所有</div>
    </div>
    <!--尾部结束-->

    <!--右边底部返回顶部-->
    <div class="slidebar" id="slidebar">
        <ul>
            <li class="topback">
                <a href="javascript:;"></a>
            </li>
        </ul>
    </div>
    <!--右边底部返回顶部结束-->
    <!--左侧楼层开始-->
    <div class="floor">
        <ul>
            <li class="on1">
                <a href="javascript:;"><span>1F<br />...</span></a>
            </li>
            <li class="on2">
                <a href="javascript:;"><span>2F<br />.....</span></a>
            </li>
            <li class="on3">
                <a href="javascript:;"><span>3F<br />....</span></a>
            </li>
            <li class="on4">
                <a href="javascript:;"><span>4F<br />.....</span></a>
            </li>
            <li class="on5">
                <a href="javascript:;"><span>5F<br />.....</span></a>
            </li>
            <li class="on6">
                <a href="javascript:;"><span>6F<br />....</span></a>
            </li>
        </ul>

    </div>

    <!--左侧楼层结束-->
</body>

</html>